package cn.mesmile.h2.service;

import cn.mesmile.h2.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author zb
 * @date 2021/11/22 10:02
 * @Description
 */
public interface StudentService extends IService<Student> {

    /**
     * 查询所有数据
     * @return
     */
    List<Student> listStudent();

    /**
     * 修改
     * @param student
     * @return
     */
    Student updateStudent(Student student);

}
